package com.milk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milk.entity.Lottery;
import com.milk.vo.UserLotteryVO;

import java.util.List;

public interface LotteryService extends IService<Lottery> {

    List<Lottery> selectAll();

    void lotteryRecord(Lottery lottery);

    List<UserLotteryVO> selectRecord();

    List<Lottery> selectAdminAll();

    void updateLottery(Lottery lottery);

    void insert(Lottery lottery);

    void deleteById(Long id);
}
